package com.zdd.ehe.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author ZhuiZhu
 * @since 2023-03-24
 */
@TableName("t_disease_data")
@ApiModel(value = "DiseaseData对象", description = "")
public class DiseaseData implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("虫病编号")
    @TableId(value = "disease_id", type = IdType.AUTO)
    private Integer diseaseId;

    @ApiModelProperty("虫病名称")
    private String name;

    @ApiModelProperty("植物")
    private String plant;

    @ApiModelProperty("英文名称")
    private String ename;

    @ApiModelProperty("介绍")
    private String introduce;

    @ApiModelProperty("危害症状")
    private String symptom;

    @ApiModelProperty("发生原因")
    private String cause;

    @ApiModelProperty("防治办法")
    private String measure;

    @ApiModelProperty("图片")
    private String picture;

    @ApiModelProperty("病虫害信息状态")
    private String status;

    public Integer getDiseaseId() {
        return diseaseId;
    }

    public void setDiseaseId(Integer diseaseId) {
        this.diseaseId = diseaseId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPlant() {
        return plant;
    }

    public void setPlant(String plant) {
        this.plant = plant;
    }

    public String getEname() {
        return ename;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public String getSymptom() {
        return symptom;
    }

    public void setSymptom(String symptom) {
        this.symptom = symptom;
    }

    public String getCause() {
        return cause;
    }

    public void setCause(String cause) {
        this.cause = cause;
    }

    public String getMeasure() {
        return measure;
    }

    public void setMeasure(String measure) {
        this.measure = measure;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "DiseaseData{" +
                "diseaseId=" + diseaseId +
                ", name='" + name + '\'' +
                ", plant='" + plant + '\'' +
                ", ename='" + ename + '\'' +
                ", introduce='" + introduce + '\'' +
                ", symptom='" + symptom + '\'' +
                ", cause='" + cause + '\'' +
                ", measure='" + measure + '\'' +
                ", picture='" + picture + '\'' +
                ", status='" + status + '\'' +
                '}';
    }

}
